package com.jeesite.modules.exam.socreResult.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

import javax.validation.constraints.Size;

/**
 * 考核任务指标评分表-主表
 * @author xhc
 * @version 2022-06-01
 */
@Table(name="dc_sup_exam_org_select", alias="a", label="考核任务单位预选表", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="org_code", attrName="orgCode", label="机构编码"),
		@Column(name="org_name", attrName="orgName", label="机构名称",queryType= QueryType.LIKE),
		@Column(name="org_sort", attrName="orgSort", label="序号", comment="序号"),
		@Column(name="org_type", attrName="orgType", label="机构类型", comment="机构类型（1区县、2市直）"),
		@Column(name="create_by", attrName="createBy", label="创建人", isUpdate=false, isQuery=false),
		@Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false, isQuery=false, isUpdateForce=true),
		@Column(name="update_by", attrName="updateBy", label="更新人", isQuery=false),
		@Column(name="update_date", attrName="updateDate", label="更新时间", isQuery=false, isUpdateForce=true),
		@Column(name="alias_name", attrName="aliasName", label="机构别名", comment="机构别名",queryType= QueryType.LIKE),
		@Column(name="group_unit", attrName="groupUnit", label="单位类型"),
		@Column(name="org_status", attrName="orgStatus", label="机构状态",isQuery=true),
	}, orderBy="a.org_sort asc,a.update_date DESC"
)
public class DcSupExamOrgSelect extends DataEntity<DcSupExamOrgSelect> {

	private static final long serialVersionUID = 1L;

	private String orgCode;
	private String orgName;
	private String aliasName;

	public String getAliasName() {
		return aliasName;
	}

	public void setAliasName(String aliasName) {
		this.aliasName = aliasName;
	}

	private Integer orgSort;

	private String orgType;

	private String unitCodes;
	private String unitNames;
	private String groupUnit;
	private String orgStatus;
	private String param;

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public String getOrgStatus() {
		return orgStatus;
	}

	public void setOrgStatus(String orgStatus) {
		this.orgStatus = orgStatus;
	}

	public String getGroupUnit() {
		return groupUnit;
	}

	public void setGroupUnit(String groupUnit) {
		this.groupUnit = groupUnit;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public Integer getOrgSort() {
		return orgSort;
	}

	public void setOrgSort(Integer orgSort) {
		this.orgSort = orgSort;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getUnitCodes() {
		return unitCodes;
	}

	public void setUnitCodes(String unitCodes) {
		this.unitCodes = unitCodes;
	}

	public String getUnitNames() {
		return unitNames;
	}

	public void setUnitNames(String unitNames) {
		this.unitNames = unitNames;
	}
}